<?php
//print_r($online_users);
if( count($billings)>0 )
{
  foreach ($billings as $row)
  {        
    echo "<tr>\n";
      echo "<td>{$row->transaction_id}</td>\n";
      echo "<td><a href='javascript: view_user_activity({$row->user_id})' >{$row->username}</a></td>\n";
      echo "<td>{$row->email}</td>\n";
      echo "<td>{$row->amount}</td>\n";
      echo "<td>{$row->coins}</td>\n"; // Coins
      echo "<td>{$row->date}</td>\n";
      echo "<td>{$row->provider}</td>\n";
      echo "<td>{$row->status}</td>\n"; // 
      echo "<td>{$row->ip_address}</td>\n";
      echo "<td>{$row->error}</td>\n"; // 
     echo "<td>{$row->extra}</td>\n"; // 
    echo "</tr>\n\n";
  }
} 
else
{
  echo "<tr><td>".lang('no_users_online')."</td></tr>\n";
}
?>
